//
//  SettingDone.swift
//  OverRun
//
//  Created by 魔码传媒 on 2017/06/16.
//  Copyright © 2017年 magicode. All rights reserved.
//

import Foundation

class SettingDone: NSObject
{
    enum NetworkEnviron:Int
    {
        case
        UnknowNetwork,
        NoNetwork,
        ThreeGNetwork,
        WifiNetwork
    }
    
    enum ThirdUserState:Int
    {
        case
        noUser,
        localUser,
        wechatUser,
        qqUser,
        weiboUser
    }
    
    static public func getTotalCacheSize() -> Float
    {
        return 0
    }
    
    static public func needAutoLogin() -> Bool
    {
        return false
    }
    
    static public func setAutoLogin(status:Bool)
    {
        
    }
    
    static public func checkNetworkStatus() -> NetworkEnviron
    {
        return NetworkEnviron.UnknowNetwork
    }
    
//    func networkStatus() -> NetworkStatus
//    {
//        
//    }
    
    static public func checkSystemLanguage() -> String
    {
        return ""
    }
    
    static public func checkUser() -> Bool
    {
        return false
    }
    
    static public func checkThirdUserState() -> Int
    {
        return 0
    }
    
    static public func setThirdUserState(state:Int)
    {
        
    }
    
    static public func areWeEn() -> Bool
    {
        return false
    }
    
    static public func getUser() -> User
    {
        return User()
    }
    
    static public func setUserId(userId:String)
    {
        
    }
    
    static public func getUserId() -> String
    {
        return ""
    }
    
    static func getUserName() -> String
    {
        return ""
    }
    
    static func getUserInfor(userId:NSString) -> Dictionary<String, Any>
    {
        return ["random":false]
    }

}
